<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // <!-- 2.内嵌式的js -->
        // alert('巢彩靖大美女');
    </script>
    <script src="Js初体验.js"></script>
</head>

<body>
    <!-- 1.行内式的js  直接写到元素的内部-->
    <!-- <input type="button" value="王嘉尔" onclick="alert('王嘉尔最好看了')"> -->
</body>

</html>